﻿using Coldairarrow.Entity.PB;
using System;
using System.Collections.Generic;
using System.Text;

namespace Coldairarrow.Entity.DTO
{
    public class PB_TransportBillDTO: PB_TransportBill
    {
        /// <summary>
        /// 车牌号
        /// </summary>
        //public string PlateNO { get; set; }

        /// <summary>
        /// 车牌名称
        /// </summary>
        public string PlateName { get; set; }

        /// <summary>
        /// 货运公司ID
        /// </summary>
        public string SupplierId { get; set; }
        /// <summary>
        /// 称重人
        /// </summary>
        public string WeighingPeopled { get; set; }
        public DateTime? IssueDate { get; set; }
        /// <summary>
        /// 发货通知摘要
        /// </summary>
        public string Abstract { get; set; }
        /// <summary>
        /// 派车类型
        /// </summary>
        public string TransportType { get; set; }
        /// <summary>
        /// 装车明细
        /// </summary>
        public List<PB_TransportBillDetailDataDTO> TransportBillDetail { get; set; }

        /// <summary>
        /// 装车图片
        /// </summary>
        public List<PB_TransportBillImg> TransportBillImg { get; set; }

        /// <summary>
        /// 获取派车单对应的项目信息
        /// </summary>
        public List<BillProjectDTO> ProjectList { get; set; }
    }

    /// <summary>
    /// 获取派车单项目信息
    /// </summary>
    public class BillProjectDTO
    {
        /// <summary>
        /// 发货通知单Id
        /// </summary>
        public string DeliveryNoticeId { get; set; }

        /// <summary>
        /// 项目Id
        /// </summary>
        public string ProjectId { get; set; }

        /// <summary>
        /// 项目名称
        /// </summary>
        public string ProjectName { get; set; }

    }
}
